#include "comp.h"

void Comp::sum(Comp a)
{
    Re=Re+a.Re;
    Im=Im+a.Im;
}

Comp::Comp(double r, double i)
{
    Re=r;
    Im=i;
}
